using System.Text.Json.Serialization;

namespace LL2024.Models.CommonLibraries.Model
{
    public class WeatherInfo
    {
        [JsonPropertyName("code")]
        public int Code { get; set; }

        [JsonPropertyName("province")]
        public string Province { get; set; }

        [JsonPropertyName("city")]
        public string City { get; set; }

        [JsonPropertyName("temperature")]
        public string Temperature { get; set; }

        [JsonPropertyName("weather")]
        public string Weather { get; set; }

        [JsonPropertyName("wind_direction")]
        public string WindDirection { get; set; }

        [JsonPropertyName("wind_power")]
        public string WindPower { get; set; }

        [JsonPropertyName("humidity")]
        public string Humidity { get; set; }

        [JsonPropertyName("reporttime")]
        public string ReportTime { get; set; }

        [JsonPropertyName("msg")]
        public string Msg { get; set; }
    }
}